<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Layui</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" th:href="@{/main/layuimini/lib/layui-v2.6.3/css/layui.css}" media="all">
  <script th:src="@{/main/layui/layui.js}" charset="utf-8"></script>
  <script th:src="@{/main/js/jquery-2.1.3.min.js}" charset="utf-8"></script>
  <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<form name="punchout_form" method="post" action="https://openapi.alipaydev.com/gateway.do?charset=utf-8&method=alipay.trade.page.pay&sign=h7PynMbZnIkj3ukUhpnxM64rKKEuiEfnMqrBzCtC1jSeMFb%2BMVIcDIslEIPD%2B3SmCbszR2rQf9LSjZT3JSvVqYD7YGiUzljvmvuLxmrfz%2BCK2NZw4wZsU%2FQu40xQMcx1POnYHpfFgKU1tacPPuSafkbiV2FT7s6z5wo8DxvDphtP7OzH3d091aY1EHtFWETajma3Q%2BxDp088mZkfniNK0KI4X82Yay4pqyZjIrQfqk6WkLXvFl0T9L26By9hwDF2j3vRr%2FCdzCJe5vipUcVf142RhDhw7126vMUuHDaYFQOauJYlXUgPtQY%2FXZqBCB%2FWJUe79QwDX3RwZLRk%2F9ceBg%3D%3D&return_url=http%3A%2F%2Flocalhost%3A6319%2Fuser%2Findex&notify_url=http%3A%2F%2Fttms.vip3gz.91tunnel.com%2Falipay%2Falipay&version=1.0&app_id=2016102100734823&sign_type=RSA2&timestamp=2022-10-11+21%3A33%3A11&alipay_sdk=alipay-sdk-java-dynamicVersionNo&format=json">
  <input type="hidden" name="biz_content" value="{&quot;out_trade_no&quot;:&quot;7000000539679806&quot;,&quot;total_amount&quot;:&quot;106&quot;,&quot;subject&quot;:&quot;开心影院影票购买&quot;,&quot;timeout_express&quot;:&quot;30m&quot;,&quot;body&quot;:&quot;开心影院影票购买&quot;,&quot;product_code&quot;:&quot;FAST_INSTANT_TRADE_PAY&quot;}">
  <input type="submit" value="立即支付" style="display:none" >
</form>
<script>document.forms[0].submit();</script>
</body>
<script>
  let zfb = '<div style="color: indianred;font-size: 18px;margin-top: 28px;">' +
          '您需要支付的订单金额为<span class="total" style="color: red;' +
          '    font-size: 27px;' +
          '    margin-left: 4px;">56</span>元' +
          '</div>'+
          '<form method="post">'+
          '<input type="hidden" id="zfb_amount">'+
          '<input type="submit"  value="支付" id="buyByzfb" style="margin-left: 100px;margin-top: 48px;" class="layui-btn">'+
          '</form>'
  $(".zfb").html(zfb)
  $(".zfb").find("form").attr("action","/alipay/tarde/pay/"+32423243);
</script>
</html>